$(document).ready(function () {
	var pageNames = {'index.jsp': 0, 'book_new.jsp': 1, 'book_sort.jsp':2, 'order_search.jsp':3, 'sort.jsp':4, 'cart_check.jsp':5,'about_us.jsp':6};
	var lis = $('#nav-ul a');
	url = window.location.href.split('/');
	
	$(lis[pageNames[url[url.length - 1]]]).addClass('hover');
	
});